/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.workflow.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Transient;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author wzp
* @date 2021-05-08
**/
@Data
public class ActRuTaskDto implements Serializable {

    /** 主键 */
    private String id;

    /** 版本 */
    private Integer rev;

    /** 任务对应执行流ID */
    private String executionId;

    /** 流程实例ID */
    private String procInstId;

    /** 任务对应流程定义ID */
    private String procDefId;

    /** 任务名称 */
    private String name;

    /** 父任务ID */
    private String parentTaskId;

    /** 任务描述 */
    private String description;

    private String taskDefKey;

    /** 任务拥有人 */
    private String owner;

    /** 需要执行任务人 */
    private String assignee;

    /** 任务拥有人名称 */
    private String ownerName;

    /** 需要执行任务人名称 */
    private String assigneeName;

    /** 任务被委派的状态 */
    private String delegation;

    /** 优先级 */
    private Integer priority;

    /** 创建时间 */
    private Timestamp createTime;

    /** 预定日期 */
    private Timestamp dueDate;

    /** 任务类型 */
    private String category;

    /** 任务状态 */
    private Integer suspensionState;

    /** 多租户 */
    private String tenantId;

    /** 表单KEY */
    private String formKey;

    /** 任务提醒时间 */
    private Timestamp claimTime;
}